package com.eies.business.applicate.dbsjcx;

import com.eies.common.LogWritter;

import ctais.services.data.DataWindow;

public class ZzjgdmcxImpl implements DbsjcxInf {

	@Override
	public String execute(CxBean bean) throws Exception {
		String sql = "select * from WBJH_DMZX_CJ_ZZJGXXB where ZZJGDM='" + bean.getZzjgdm()
				+ "' and JGMC='" + bean.getZzjgmc() + "'";
		LogWritter.debug("ZzjgdmcxImpl::"+sql,ZzjgdmcxImpl.class);
		DataWindow dw = DataWindow.dynamicCreate(sql);
		dw.retrieve();
		return "<ZZJGXX>" + dw.toXML().toString() + "</ZZJGXX>";
	}

}
